98d2987fd627a65222078b44c1a5ddfaee612511,community/server/src/test/java/org/neo4j/server/BaseBootstrapperTest.java,BaseBootstrapperTest,shouldStartStopNeoServerWithoutAnyConfigFiles,#,82
Before Change
public void shouldStartStopNeoServerWithoutAnyConfigFiles() throws IOException
{
// When
int resultCode = start( bootstrapper, commandLineConfig( "-c",
configOption( ServerSettings.legacy_db_location.name(), tempDir.getRoot().getAbsolutePath() ) ) );
// Then
assertEquals( Bootstrapper.OK, resultCode );
After Change
public void shouldStartStopNeoServerWithoutAnyConfigFiles() throws IOException
{
// When
int resultCode = start( bootstrapper, commandLineConfig(
"-c", configOption( ServerSettings.legacy_db_location.name(), tempDir.getRoot().getAbsolutePath()),
"-c", configOption( GraphDatabaseSettings.auth_store.name(), tempDir.newFile().getAbsolutePath()),
"-c", configOption( ServerSettings.tls_certificate_file.name(), new File(tempDir.getRoot(), "cert.cert").getAbsolutePath()),
"-c", configOption( ServerSettings.tls_key_file.name(), new File(tempDir.getRoot(), "key.key").getAbsolutePath())
) );
// Then
assertEquals( Bootstrapper.OK, resultCode );